import http from '@/utils/http2.js'

/**
 * 采购报表列表
 * @param data
 * @returns
 */
export function queryPurchaseReport(data) {
  return http.post("/api/report/report/purchase", data)
}

/**
 * 查询供应商名称
 * @param {*} data 
 * @returns 
 */
export function querySupplierName(data) {
  return http.get("/api/report/supplierName",data)
}

/**
 * 查询仓库名称
 * @param {*} data 
 * @returns 
 */
export function queryWarehouseName(data) {
  return http.get("/api/report/warehouse", data)
}

/**
 * 导出采购报表列表
 * @param {*} data 
 * @returns 
 */
export function exportPurchaseReport(data) {
  return http.post("/api/report/exportPurchaseReport", data)
}